from toee import *
from py00439script_daemon import record_time_stamp, get_v, set_v, tsc, within_rect_by_corners

def san_dialog( attachee, triggerer ):
	if (not attachee.has_met(triggerer)):
		record_time_stamp(503)
		triggerer.begin_dialog( attachee, 1 )
	else:		
		triggerer.begin_dialog( attachee, 50 )


def san_dying( attachee, triggerer ):
	record_time_stamp(507)
	return RUN_DEFAULT